FROM ccr.ccs.tencentyun.com/yy-dk/centos-sshd:7.0

MAINTAINER Yang <yangyufans@qq.com>

ENV HADOOP_VERSION hadoop-2.6.0-cdh5.9.3

RUN yum install -y wget which

RUN cd / && wget http://oss.yangyufans.com/jdk/jdk-7u80-linux-x64.tar.gz \
 && tar -zvxf jdk-7u80-linux-x64.tar.gz  -C /usr/local \
 && rm -rf jdk-7u80-linux-x64.tar.gz